<%--
  Created by IntelliJ IDEA.
  User: IFT8
  Date: 2015/3/17
  Time: 16:37
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="myTag" uri="http://ift8.cn/MyTag" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title></title>
</head>
<body>
<h3>简单标签（常用）</h3>
<myTag:SimpleIP> scriptless体不能执行脚本但是可执行EL ${1234}</myTag:SimpleIP><br>
<%--Tag前内容<br>--%>
<%--<myTag:SkipTag></myTag:SkipTag>--%>
<%--Tag后内容<br>--%>
<h4>转大写</h4>
<myTag:ChangeTag>abcd</myTag:ChangeTag>
<h4>5>1?</h4>
<myTag:if test="${5>1}">
    Yes
</myTag:if>
<myTag:if test="${5<=1}">
    No
</myTag:if>
<br>
<br>
<hr>
<h3>传统标签</h3>
<h4>IpEmptyBody</h4>
<myTag:IpEmptyBody></myTag:IpEmptyBody>
<br>
<c:out value="next…"></c:out>
<br>
<h4>body-content为TagPendent</h4>
<myTag:IpTBody>
    <%
        pageContext.getOut().print("这里被执行了么？");
    %>
</myTag:IpTBody>
<br>
<h4>IpJSPBody</h4>
<myTag:IpJSPBody> Something in Tag
    <%
        pageContext.getOut().print("<br>TagEnd设置返回值为SKIP_PAGE，标签外被跳过<br>");
    %>
</myTag:IpJSPBody>
<c:out value="other…"></c:out>
<br>
</body>
</html>
